<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        nav, footer {
            width: 100%;
            height: 30px;
            background-color: #4455aa;
            font-size: 20px;
            color: white;
        }

        footer {
            margin-top: 100px;
        }

        .loginUser {
            width: 800px;
            height: 150px;
            background-color: #a9a9a9;
            margin: 20px;
        }

        .hidDiv {
            width: 100%;
            height: 100%;
            background-color: white;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 2;
            visibility: hidden;
        }
    </style>
    <script src="/js/axios.min.js/"></script>
    <script src="/js/query.js"></script>
    <script src="/js/index.js"></script>
</head>
<body>
<nav>登录状态与统计</nav>
<div class="loginUser">

        <div>登录用户</div>
        <div>
            <div><img src="" id="faceImg" style="width: 50px;height: 50px" border="1"></div>
            <div>
                <div id="loginDiv"></div>
                用户名：<span id="userNameSpan" style="margin-right: 50px"></span>
                用户邮箱：<span id="mailSpan" style="margin-right: 50px"></span>
            </div>
        </div>

</div>
<div style="background-color: #e6e7d5;width: 100%;height: 30px"></div>
<table border="1" width="100%" cellspacing="0" style="border: #4455aa;margin-top: 30px">
    <thead>
    <tr>
        <td>频道名称</td>
        <td>频道描述</td>
        <td>帖子数量</td>
        <td>更多</td>
    </tr>
    </thead>
    <tbody id="data"></tbody>
</table>
<div class="hidDiv" id="hidDiv">
    <div style="display: flex">
        <input type="button" value="返回" onclick="exitIndex()">
        <div>主题名称：<input type="text" id="tittleTxt"></div>
        <div>起始日期：<input type="date" id="startTxt"></div>
        <div>结束日期：<input type="date" id="endTxt"></div>
        <input type="button" value="搜索" onclick="findByItem(1)">
    </div>
    <table border="1" width="100%" cellspacing="0" style="border: #4455aa;margin-top: 30px">
        <thead>
        <tr>
            <td>主题</td>
            <td>作者</td>
            <td>回帖数量</td>
            <td>发帖时间</td>
            <td>更多</td>
        </tr>
        </thead>
        <tbody id="dataPost"></tbody>
    </table>
    <div id="cutDiv"></div>

    <input style="margin-top: 30px;width: 600px" type="text" value="主题" id="addPostTitle"><br>
    <input style="width: 600px;height: 400px" type="text" id="addPostTxt"><br>
    <input type="button" value="发表帖子" onclick="addPost()">
</div>
<footer>
</footer>
</body>
</html>